package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 社工结算比例阶梯对象 jiajia_worker_settle_scale
 * 
 * @author ruoyi
 * @date 2024-05-08
 */
public class JiajiaWorkerSettleScale extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 阶梯名称 */
    @Excel(name = "阶梯名称")
    private String name;

    /** 结算比例，如百分之10，值为10 */
    @Excel(name = "结算比例，如百分之10，值为10")
    private BigDecimal rate;

    /** 结算条件，如满足1000元 */
    @Excel(name = "结算条件，如满足1000元")
    private BigDecimal condition;

    /** 序号 */
    @Excel(name = "序号")
    private Long sortNum;

    /** 是否删除0否1是 */
    @Excel(name = "是否删除0否1是")
    private Integer del;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setRate(BigDecimal rate) 
    {
        this.rate = rate;
    }

    public BigDecimal getRate() 
    {
        return rate;
    }
    public void setCondition(BigDecimal condition) 
    {
        this.condition = condition;
    }

    public BigDecimal getCondition() 
    {
        return condition;
    }
    public void setSortNum(Long sortNum) 
    {
        this.sortNum = sortNum;
    }

    public Long getSortNum() 
    {
        return sortNum;
    }
    public void setDel(Integer del) 
    {
        this.del = del;
    }

    public Integer getDel() 
    {
        return del;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("rate", getRate())
            .append("condition", getCondition())
            .append("sortNum", getSortNum())
            .append("del", getDel())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
